#HDL_LIB comes from the top makefile
#LIB_F gets added to by each lib 
#everything else is local
COMPONENTS_LIB := components
COMPONENTS_FILES :=						\
	$(HDL_LIB)/$(COMPONENTS_LIB)/functions.vhd		\
	$(HDL_LIB)/$(COMPONENTS_LIB)/txt_util.vhd		\
	$(HDL_LIB)/$(COMPONENTS_LIB)/debounceBits.vhd		\
	$(HDL_LIB)/$(COMPONENTS_LIB)/tickGen.vhd		\
	$(HDL_LIB)/$(COMPONENTS_LIB)/crossDomainSync.vhd	\
	$(HDL_LIB)/$(COMPONENTS_LIB)/afifo.vhd			\
	$(HDL_LIB)/$(COMPONENTS_LIB)/adc_block.vhd		\
	$(HDL_LIB)/$(COMPONENTS_LIB)/adcSampler.vhd


LIB_F += $(COMPONENTS_LIB).tmpprj

$(COMPONENTS_LIB).tmpprj: $(COMPONENTS_FILES)
	for src in $(COMPONENTS_FILES); do echo "vhdl" $(COMPONENTS_LIB)" \"$$src\"" >> $(COMPONENTS_LIB).tmpprj; done

